<div id="Canvas">

  <!--// Header //-->
  <div class="region region-top">
    <div class="region-content">

      <div class="mod mod-top">
        <div class="content">
          <!-- AddThis Button BEGIN -->
          <div class="addthis_toolbox addthis_default_style ">
          <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
          <a class="addthis_button_tweet"></a>
          <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
          <a class="addthis_counter addthis_pill_style"></a>
          </div>
          <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ee4f6440fe80b20"></script>
          <!-- AddThis Button END -->
        </div>
      </div>

      <div class="mod mod-header">
        <div class="content">
          <div class="banner-link"><a href="<?php echo $base_path; ?>" style="position:absolute; width:100%; height:100%; z-index: 1"></a></div>
          <div class="mod-header-left"></div>
          <div class="mod-header-right"></div>
          <h1><a href="/">Victorious ones - Jain Images of Perfection</a></h1>
          <?php print render($page['header']); ?>
        </div>
      </div>

      <div class="mod mod-nav">
        <div class="content">
          <?php if ($main_menu): ?>
            <?php print theme('links__system_main_menu', array(
              'links' => $main_menu,
              'attributes' => array(
                'id' => 'main-menu-links',
                'class' => array('links', 'clearfix'),
              ),
              'heading' => array(
                'text' => t('Main menu'),
                'level' => 'h2',
                'class' => array('element-invisible'),
              ),
            )); ?>
          <?php endif; ?>
          <form action="<?php echo $base_path; ?>/search/node/" accept-charset="UTF-8" method="get" class="searchbox-form">
            <fieldset>
              <fieldset class="inline fieldset-left">
                <input type="text" class="form-text input-text" name="search" value="" />
              </fieldset>
              <fieldset class="inline fieldset-right">
                <input type="submit" value="Search" class="input-button form-submit" name="op" />
              </fieldset>
            </fieldset>
          </form>
        </div>
      </div> <!--// mod-nav //-->

      <?php if ($messages): ?>
        <div id="messages"><div class="section clearfix">
          <?php print $messages; ?>
        </div></div> <!-- /.section, /#messages -->
      <?php endif; ?>
    </div><!--// region-content //-->
  </div><!--// region-top //-->

  <?php if ($page['featured']): ?>
    <div id="featured"><div class="section clearfix">
      <?php print render($page['featured']); ?>
    </div></div> <!-- /.section, /#featured -->
  <?php endif; ?>

  <?php if ($tabs): ?>
    <div class="tabs tabs-editorial">
      <?php print render($tabs); ?>
    </div>
  <?php endif; ?>

  <div id="main-wrapper" class="clearfix"><div id="main" class="clearfix">

    <?php if ($breadcrumb): ?>
      <div id="breadcrumb"><?php print $breadcrumb; ?></div>
    <?php endif; ?>

    <?php if ($page['sidebar_first']): ?>
      <div id="sidebar-first" class="column sidebar"><div class="section">
        <?php print render($page['sidebar_first']); ?>
      </div></div> <!-- /.section, /#sidebar-first -->
    <?php endif; ?>

    <div id="content" class="column"><div class="section">
      <?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
      <a id="main-content"></a>

      <?php print render($page['help']); ?>
      <?php if ($action_links): ?>
        <ul class="action-links">
          <?php print render($action_links); ?>
        </ul>
      <?php endif; ?>
      <?php print render($page['channel_main_content_list']); ?>
      <?php print $feed_icons; ?>

      <div class="region region-full">
        <div class="region-content">
          <div class="region region-half">
            <div class="region-content region-content-left">
              <?php $block = module_invoke('jainart_blocks', 'block_view', 'frontpage_top_left'); ?>
              <?php print $block['content']; ?>
            </div>
            <div class="region-content region-content-left">
              <?php $block = module_invoke('jainart_blocks', 'block_view', 'frontpage_middle_left'); ?>
              <?php print $block['content']; ?>
            </div>
          </div>

          <div class="region region-half">
            <div class="region-content region-content-left">
              <?php $block = module_invoke('jainart_blocks', 'block_view', 'frontpage_top_right'); ?>
              <?php print $block['content']; ?>
            </div>
            <div class="region-content">
              <?php $block = module_invoke('jainart_blocks', 'block_view', 'frontpage_middle_right'); ?>
              <?php print $block['content']; ?>
            </div>
          </div>
        </div>
      </div>

      <div class="region region-full">
        <div class="region-content">
          <?php $block = module_invoke('jainart_blocks', 'block_view', 'frontpage_bottom_wide'); ?>
          <?php print $block['content']; ?>
        </div>
      </div>

    </div></div> <!-- /.section, /#content -->

    <?php if ($page['sidebar_second']): ?>
      <div id="sidebar-second" class="column sidebar"><div class="section">
        <?php print render($page['sidebar_second']); ?>

      </div></div> <!-- /.section, /#sidebar-second -->
    <?php endif; ?>

  </div></div> <!-- /#main, /#main-wrapper -->

  <?php if ($page['triptych_first'] || $page['triptych_middle'] || $page['triptych_last']): ?>
    <div id="triptych-wrapper"><div id="triptych" class="clearfix">
      <?php print render($page['triptych_first']); ?>
      <?php print render($page['triptych_middle']); ?>
      <?php print render($page['triptych_last']); ?>
    </div></div> <!-- /#triptych, /#triptych-wrapper -->
  <?php endif; ?>

  <div id="footer-wrapper"><div class="section">

    <?php if ($page['footer_firstcolumn'] || $page['footer_secondcolumn'] || $page['footer_thirdcolumn'] || $page['footer_fourthcolumn']): ?>
      <div id="footer-columns" class="clearfix">
        <?php print render($page['footer_firstcolumn']); ?>
        <?php print render($page['footer_secondcolumn']); ?>
        <?php print render($page['footer_thirdcolumn']); ?>
        <?php print render($page['footer_fourthcolumn']); ?>
      </div> <!-- /#footer-columns -->
    <?php endif; ?>

    <?php if ($page['footer']): ?>
      <div id="footer" class="clearfix">
        <?php print render($page['footer']); ?>
      </div> <!-- /#footer -->
    <?php endif; ?>
  </div></div> <!-- /.section, /#footer-wrapper -->

</div>
